﻿
using System;
namespace RBS.Core.Model
{
	/// <summary>
	/// 用户基本信息表
	/// </summary>
	[Serializable]
	public partial class SYS_User
	{
		public SYS_User()
		{}
		#region Model
		private string _username;
		private string _fullname;
		private string _usernickname;
		private string _password;
		private string _userno;
		private int _usertype;
		private string _deptid;
		private int _gender;
		private string _birthplace;
		private string _national;
		private string _idcard;
		private DateTime? _birthday;
		private string _email;
		private string _emailbacker;
		private string _officephone;
		private string _homephone;
		private string _mobilephone;
		private string _qq;
		private string _msn;
		private int _sequence;
		private int _accountstate=0;
		private string _lastupdateusername;
		private string _lastupdateuserfullname;
		private DateTime _lastupdatetime= DateTime.Now;
		private string _createusername;
		private string _createuserfullname;
		private DateTime? _createdatetime;
		/// <summary>
		/// 用户标识
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 用户姓名
		/// </summary>
		public string FullName
		{
			set{ _fullname=value;}
			get{return _fullname;}
		}
		/// <summary>
		/// 曾用名
		/// </summary>
		public string UserNickName
		{
			set{ _usernickname=value;}
			get{return _usernickname;}
		}
		/// <summary>
		/// 登录密码
		/// </summary>
		public string Password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 拼音代码
		/// </summary>
		public string UserNO
		{
			set{ _userno=value;}
			get{return _userno;}
		}
		/// <summary>
		/// 用户类型
	///   1	教师
	///   2	教练
	///   3	教务
	///   4	其他
		/// </summary>
		public int UserType
		{
			set{ _usertype=value;}
			get{return _usertype;}
		}
		/// <summary>
		/// 所属部门
		/// </summary>
		public string DeptID
		{
			set{ _deptid=value;}
			get{return _deptid;}
		}
		/// <summary>
		/// 性别
		/// </summary>
		public int Gender
		{
			set{ _gender=value;}
			get{return _gender;}
		}
		/// <summary>
		/// 籍贯
		/// </summary>
		public string Birthplace
		{
			set{ _birthplace=value;}
			get{return _birthplace;}
		}
		/// <summary>
		/// 民族
		/// </summary>
		public string National
		{
			set{ _national=value;}
			get{return _national;}
		}
		/// <summary>
		/// 身份证号码
		/// </summary>
		public string IDCard
		{
			set{ _idcard=value;}
			get{return _idcard;}
		}
		/// <summary>
		/// 生日
		/// </summary>
		public DateTime? Birthday
		{
			set{ _birthday=value;}
			get{return _birthday;}
		}
		/// <summary>
		/// 电子邮件地址
		/// </summary>
		public string Email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 备用电子邮件
		/// </summary>
		public string EmailBacker
		{
			set{ _emailbacker=value;}
			get{return _emailbacker;}
		}
		/// <summary>
		/// 办公电话
		/// </summary>
		public string OfficePhone
		{
			set{ _officephone=value;}
			get{return _officephone;}
		}
		/// <summary>
		/// 家庭电话
		/// </summary>
		public string HomePhone
		{
			set{ _homephone=value;}
			get{return _homephone;}
		}
		/// <summary>
		/// 手机号码
		/// </summary>
		public string MobilePhone
		{
			set{ _mobilephone=value;}
			get{return _mobilephone;}
		}
		/// <summary>
		/// QQ号码
		/// </summary>
		public string QQ
		{
			set{ _qq=value;}
			get{return _qq;}
		}
		/// <summary>
		/// MSN账号
		/// </summary>
		public string MSN
		{
			set{ _msn=value;}
			get{return _msn;}
		}
		/// <summary>
		/// 排序号
		/// </summary>
		public int Sequence
		{
			set{ _sequence=value;}
			get{return _sequence;}
		}
		/// <summary>
		/// 账号状态
	///   0	正常
	///   1	停用
		/// </summary>
		public int AccountState
		{
			set{ _accountstate=value;}
			get{return _accountstate;}
		}
		/// <summary>
		/// 最后一次更新用户标识
		/// </summary>
		public string LastUpdateUserName
		{
			set{ _lastupdateusername=value;}
			get{return _lastupdateusername;}
		}
		/// <summary>
		/// 最后一次更新用户姓名
		/// </summary>
		public string LastUpdateUserFullName
		{
			set{ _lastupdateuserfullname=value;}
			get{return _lastupdateuserfullname;}
		}
		/// <summary>
		/// 最后一次更新时间
		/// </summary>
		public DateTime LastUpdateTime
		{
			set{ _lastupdatetime=value;}
			get{return _lastupdatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserName
		{
			set{ _createusername=value;}
			get{return _createusername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUserFullName
		{
			set{ _createuserfullname=value;}
			get{return _createuserfullname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDateTime
		{
			set{ _createdatetime=value;}
			get{return _createdatetime;}
		}
		#endregion Model

	}
}

